-- GENERATED SPELL FOR [Felpaw Scavenger] --


function spell0_8960(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8960', 30261, 1)
end

function spell1_8960(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8960', 8000, 1)
end

function Sorts_8960(pUnit, Event)
local choix_sorts_8960 = math.random(0, 1)
if choix_sorts_8960 == 0 then
pUnit:RegisterEvent('spell0_8960', 1, 1)
end
if choix_sorts_8960 == 1 then
pUnit:RegisterEvent('spell1_8960', 1, 1)
end
end

function mob8960_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8960', math.random(1500, 3000), 1)
end

function mob8960_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8960_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8960_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8960, 1, 'mob8960_Action')
RegisterUnitEvent(8960, 2, 'mob8960_Leave')
RegisterUnitEvent(8960, 3, 'mob8960_Kill')
RegisterUnitEvent(8960, 4, 'mob8960_Die')
